home *** CD-ROM | disk | FTP | other *** search
- 1 rem default setup
- 6 j=56320:poke53280,5:poke53281,13:print"[144]"
- 10 rem color select
- 20 gosub 10000 : rem current setup
- 30 print"[147][144]"
- 32 print" [200]ere you can set the defaults for the"
- 34 print"[205][213][211][201][195] and the [195][207][204][207][210]/[194][204][193][195][203] & [215][200][201][212][197] flags."
- 36 :
- 38 mu$="on ":print"<[205]>usic :";:ifmu=0thenmu$="off"
- 39 printmu$
- 40 sd$="color ":print"<[211]>creen [196]isplay :";
- 41 ifsd=0thensd$="black & white"
- 42 printsd$
- 43 :
- 44 print" [208]ress <[205]> to toggle [205][213][211][201][195]"
- 45 print" [208]ress <[211]> to toggle [211][195][210][197][197][206] [196][201][211][208][204][193][217]"
- 46 print" [208]ress <_> to [211][193][214][197] defaults"
- 47 print" [208]ress <[209]> to [209][213][201][212]"
- 50 poke198,0:wait198,1:geta$
- 52 ifa$="m"thenmu=not(mu):goto30
- 54 ifa$="s"thensd=not(sd):goto30
- 56 ifa$="q"thengosub20000:goto20
- 57 ifa$="_"then90
- 60 goto30
- 70 :
- 90 gosub 12000 : rem are these ok
- 92 ifnot(ok)then30
- 94 :
- 100 gosub 15000: rem current side
- 102 sb=si : rem side booted
- 105 ns=2 : rem number of sides
- 110 cs=1
- 120 gosub13000 : rem write data to file
- 130 cs=cs+1 : rem on side cs
- 140 ifcs<=nsthen120
- 150 :
- 160 goto14000 : rem put side sb in
- 200 :
- 10000 rem get current setup
- 10010 open15,8,15,"i0"
- 10020 open3,8,4,"setup"
- 10030 input#3,d$(1),d$(2),d$(3),d$(4),d$(5),d$(6),d$(7)
- 10040 mu=val(d$(6))
- 10042 sd=val(d$(7))
- 10046 close3:close15
- 10050 return
- 10060 :
- 11250 :
- 12000 rem these ok
- 12005 :
- 12010 print"[147]"spc(7)"[205]usic : "mu$:printspc(7)"[211]creen [196]isplay : "sd$
- 12015 print" [193]re these settings what you want ([217]/[206])?"
- 12020 poke198,0:wait198,1:geta$
- 12025 ifa$<>"y"anda$<>"n"then12020
- 12030 ifa$="y"thenok=-1
- 12040 ifa$="n"thenok=0
- 12050 return
- 13000 rem write data to disk
- 13010 print"[147][144]":poke53281,1:poke53280,4
- 13020 print" [208]lease place side #"cs"of [204][207][193][196][211][212][193][210] in"
- 13025 print" the drive and press [[211][208][193][195][197]]."
- 13030 poke198,0:wait198,1:geta$:ifa$<>" "then13030
- 13040 gosub15000: rem what side is it?
- 13050 ifsi=csthen13100
- 13060 print" !!! [211]ide #"cs"not found... !!!"
- 13070 fordl=1to2000:next:goto13000
- 13080 :
- 13100 rem ok, write data
- 13110 open15,8,15,"i0"
- 13120 d$(7)="0":ifsd=-1thend$(7)="-1"
- 13122 d$(6)="0":ifmu=-1thend$(6)="-1"
- 13130 open3,8,4,"setup":cr$=chr$(13)
- 13140 print#15,"p"chr$(0)"";
- 13150 print#3,d$(1)cr$d$(2)cr$d$(3)cr$d$(4)cr$d$(5)cr$d$(6)cr$d$(7)cr$
- 13160 close3:close15
- 13170 return
- 13180 :
- 13999 end
- 14000 rem put side one back in
- 14010 print"[147][144]":poke53281,1:poke53280,4
- 14020 print" [208]lease place side # 1 of [204][207][193][196][211][212][193][210] in"
- 14022 print" your drive and press [[211][208][193][195][197]] to return"
- 14023 print" to the [204][207][193][196][211][212][193][210] menu.":poke198,.
- 14030 geta$:ifa$<>" "then14030
- 14040 gosub15000: rem what side is it?
- 14050 ifsi=1then14100
- 14060 print" !!! [211]ide # 1 not found... !!!"
- 14070 fordl=1to2000:next:goto14000
- 14080 :
- 14100 goto60000 : rem connect back
- 14130 :
- 15000 rem read current side
- 15010 open15,8,15,"i0":close15
- 15020 open2,8,2,"$"
- 15030 fori=0to156:get#2,a$:next
- 15040 get#2,a$:si=val(a$):close2
- 15050 return
- 15060 :
- 20000 rem quit
- 20010 print"[147] [193]re you sure you want to quit ([217]/[206])?"
- 20020 poke198,0:wait198,1:geta$
- 20025 ifa$<>"y"anda$<>"n"then20020
- 20030 ifa$="y"then60000 : rem quit
- 20040 ifa$="n"thenreturn
- 20050 :
- 30000 rem same background and text
- 30010 poke53281,1:print"[147][144] [215]hy did you pick the same color for"
- 30020 print" the [194][193][195][203][199][210][207][213][206][196] and the [212][197][216][212]???"
- 30030 print" [212]ry picking again..."
- 30040 fordl=1to3200:next:return
- 60000 rem return to customize menu
- 60010 print"[147]load"chr$(34)"custom ls boot"chr$(34)",8":print"run"
- 60020 poke631,13:poke632,13:poke198,2:end
-